<?php 
//		foreach($this->level1 as $child){
//        	echo "<pre>";
//			print_r($child);
//			echo "</pre>";
//		}exit();
?>

    <section class="categories">
    <h2><?php echo $this->t($this->mc_name) ?></h2>    
<ul> 

    <?php
    
    
    	//$list = Model_Category::getLevel1(array('url_en' => $this->level1, 'status' => Model_Category::STATUS_ACTIVE));//array('homepage' => 1, 'status' => Model_Category::STATUS_ACTIVE))->sort(array('nm_en' => 1));
    	
    	//foreach ($list as $mc):
			foreach ($this->mc as $category):
				
				//echo "<pre>";print_r($category);
			
		?><?php //if($category->nav_name=="Business Directory") continue;?>
    		
                <li><h1><a href="<?php echo $category->url()?>"><?php echo $category->name?><em>(<?php echo number_format(intval($category->listing_count))?>)</em><span>&gt;</span></a></h1></li>
                <?php //var_dump($category);?>
            <?php endforeach;
        //endforeach;
//        	echo "<pre>";
//		print_r($category);
//		echo "</pre><br/>----<br/>";
    ?>
</ul>
    </section>
   
    <?php echo $this->Partial('mobile/other.phtml', 'default'); ?>

    
    <?php
    /*$lvl2 = Model_Category::getLevel2(array('post_an_ad' => 1, 'status' => Model_Category::STATUS_ACTIVE))->sort(array( 'path.0'=>1, 'pos' => 1));
    foreach($lvl2 as $item){
    	echo "<pre>";
		print_r($item);
		echo "</pre><br/>--4cda3e818835c168107e0100--<br/>";
	}*/
	
	
    ?>